package linter.linterjava.POJO.DTO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import linter.linterjava.POJO.UtilDTO.PageInfoDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 课程笔记表
 * @author 北煜
 * @TableName curriculum_note
 */
@TableName(value ="curriculum_note")
@Data
@EqualsAndHashCode(callSuper = true)
public class CurriculumNoteDTO extends PageInfoDTO implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 课程id
     */
    private Long curriculumId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 课程笔记标题
     */
    private String curriculumNoteTitle;

    /**
     * 内容
     */
    private String content;

    /**
     * 课程类型
     */
    private String curriculumType;

}
